import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = false

// vant
import Vant from "vant"
import 'vant/lib/index.css';
Vue.use(Vant)


// i18
import VueI18n from "vue-i18n"
Vue.use(VueI18n)
const i18n = new VueI18n({
  locale: "zh",
  messages: {
    "zh": require("./lang/zh"),
    "en": require("./lang/en")
  }
})




// router
import router from "./route"

// icon
import "./icon.css"
import "./font.css"

// comp
import tabbar from "@/components/app_tab_bar.vue";
Vue.component("tabbar", tabbar);


new Vue({
  i18n,
  router,
  render: h => h(App),
}).$mount('#app')
